package com.naiterui.ehp.bp.domain;

import java.io.Serializable;

import javax.persistence.Column;

import lombok.Data;

@Data
public class AttendPK implements Serializable {
    private static final long serialVersionUID = 1492268830022643085L;

    /**
     * 患者id
     */
    @Column(name = "patient_id")
    private Long patientId;

    /**
     * 医生id
     */
    @Column(name = "doctor_id")
    private Long doctorId;

    public AttendPK(Long patientId, Long doctorId) {
        this.patientId = patientId;
        this.doctorId = doctorId;
    }

}
